<template>
  <!-- 1.首页通栏 -->
  <AppTopnav></AppTopnav>
  <!-- 2. 头部 -->
  <AppHeaderSticky></AppHeaderSticky>
  <AppHeader></AppHeader>
  <main class="app-body">
    <!-- 二级路由--内容 -->
    <RouterView></RouterView>
  </main>
  <!-- 3.公共顶部 -->
  <AppFooter></AppFooter>
</template>

<script>
import AppTopnav from '@/components/app-topnav.vue'
import AppHeader from '@/components/app-header.vue'
import AppFooter from '@/components/app-footer.vue'
import AppHeaderSticky from '@/components/app-header-sticky.vue'
export default {
  name: 'xtx-layout',
  components: {
    AppTopnav,
    AppHeader,
    AppFooter,
    AppHeaderSticky
  }
}
</script>

<style lang="less" scoped>
.app-body {
  min-height: 600px;
}
</style>
